﻿@model IEnumerable<GameSchool.Models.UserProfile>

<link rel="stylesheet" type="text/css" href="/Content/css/forms.css" />
<fieldset>
            <legend>Breyta notanda:</legend>
<table>
<tr><th>Nafn</th><th>Kennitala</th><th>Heimilisfang</th><th>Breyta notanda</th><th>Breyta lykilorði</th></tr>
@foreach (var m in Model)
{
    <tr>
            <td>@m.Name</td>
            <td>@m.SSN</td>
            <td>@m.Address</td>            
            <td class="editLink">@Html.ActionLink("Breyta", "Profile/" + @m.UserID, "User")</td>
            <td class="editLink">@Html.ActionLink("Breyta lykilorði", "ChangePassword", "Account")</td>
    </tr>
}
</table>
</fieldset>
